<form class="form-horizontal" role="form" ng-submit="submit(form)">
    <div class="form-group form-group-sm">
        <label class="col-sm-2 control-label" for="formGroupInputSmall">Organization Name</label>

        <div class="col-sm-10">
            <input class="form-control" type="text" ng-model="form.name"
                   id="formGroupInputSmall" placeholder="Organization Name">
        </div>
    </div>
    <div class="form-group form-group-sm">
        <label class="col-sm-2 control-label" for="formGroupInputSmall">Person Name</label>

        <div class="col-sm-10">
            <input class="form-control" type="text" ng-model="form.person.name"
                   id="formGroupInputSmall" placeholder="Person Name">
        </div>
    </div>
    <div class="form-group form-group-sm">
        <div class="col-sm-offset-2 col-sm-2">
            <button type="submit" class="btn btn-primary">Submit</button>
        </div>
    </div>
</form>
<table class="table table-striped table-hover">
    <tr>
        <th>Organization Name</th>
        <th>Person Name</th>
    </tr>
    <tr ng-repeat="it in list">
        <td>{{it.name}}</td>
        <td>{{it.person.name}}</td>
    </tr>
</table>
